import { defHttp } from '/@/utils/http/axios';
//设备统计
export function getStatistics() {
  return defHttp.get({ url: '/statistics/devices_statistics' });
}
//过去10小时数据采集量（同比和环比）
export function gettenhoursData() {
  return defHttp.get({ url: '/statistics/data_count_ten_hours' });
}

//第三方API调用统计
export function thirdApiCount() {
  return defHttp.get({ url: '/statistics/third_api_count' });
}

//过去10小时业务系统推送量
export function sysPushCount() {
  return defHttp.get({ url: '/statistics/push_count' });
}

//数据采集率
export function datacollectionrate() {
  return defHttp.get({ url: '/statistics/data_collection_rate' });
}

//过去10小时上云数据推送量
export function servicedatacount() {
  return defHttp.get({ url: '/statistics/service_data_count' });
}

//过去10天报警推送次数
export function alarmCount() {
  return defHttp.get({ url: '/statistics/alarm_count_ten' });
}
